FROM registry.cn-beijing.aliyuncs.com/wychuan/java:8-alpine-font

WORKDIR /
COPY eladmin-system-2.6.jar /app.jar
# ENV SPRING_PROFILES_ACTIVE dev3
# --spring.config.addition-location=/config/application-dev3.yml
# this ENTRYPOINT will be docker-compose override
ENTRYPOINT [ "sh", "-c", "java -Djava.security.egd=file:/dev/./urandom -jar /app.jar"]
EXPOSE 8000
